package org.jeecg.modules.personalTask.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 个人任务
 * @Author: jeecg-boot
 * @Date:   2024-02-18
 * @Version: V1.0
 */
@Data
@TableName("personal_task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="personal_task对象", description="个人任务")
public class PersonalTaskVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**起始时间*/
	@Excel(name = "起始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "起始时间")
    private java.util.Date startDate;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private java.util.Date endDate;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;//1：进行中;2：完成;3：冻结;4：关闭
	/**持续时间*/
	@Excel(name = "持续时间", width = 15)
    @ApiModelProperty(value = "持续时间")
    private Integer duration;
	/**负责人*/
	@Excel(name = "负责人", width = 15)
    @ApiModelProperty(value = "负责人")
    private String header;
	/**任务名*/
	@Excel(name = "任务名", width = 15)
    @ApiModelProperty(value = "任务名")
    private String text;
	/**优先级*/
	@Excel(name = "优先级", width = 15)
    @ApiModelProperty(value = "优先级")
    private String priority;
	/**指派人*/
	@Excel(name = "指派人", width = 15)
    @ApiModelProperty(value = "指派人")
    private String assignor;
	/**进度*/
	@Excel(name = "进度", width = 15)
    @ApiModelProperty(value = "进度")
    private Double progress;
	/**修改次数*/
	@Excel(name = "修改次数", width = 15)
    @ApiModelProperty(value = "修改次数")
    private Integer updateNum;
	/**修改原因*/
	@Excel(name = "修改原因", width = 15)
    @ApiModelProperty(value = "修改原因")
    private String updateReason;
	/**父任务ID*/
	@Excel(name = "父任务ID", width = 15)
    @ApiModelProperty(value = "父任务ID")
    private String parent;
	/**所属项目*/
	@Excel(name = "所属项目", width = 15)
    @ApiModelProperty(value = "所属项目")
    private String projectId;
    /**标志*/
    @Excel(name = "标志", width = 15)
    @ApiModelProperty(value = "标志")
    private Integer sign;

    /**所属项目*/
    @Excel(name = "所属项目", width = 15)
    @ApiModelProperty(value = "所属项目")
    private String projectText;
}
